﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace COFE.Core.Actions
{
    /// <summary>
    /// {1001-1029} A list of actions for EntryList.
    /// </summary>
    public enum EntryListActions : int
    {
        /// <summary>
        /// Save the entry list. (*name)
        /// name - name of the entry list.
        /// </summary>        
        [Action(ActionParameters.All, ActionParameters.None)]
        Save = 1001,

        /// <summary>
        /// Load the entry list. (*name)
        /// name - name of the entry list.
        /// </summary>        
        [Action(ActionParameters.None, ActionParameters.All)]
        Load,

        /// <summary>
        /// Load the entry list, and remove it from the registrar. (*name)
        /// name - name of the entry list.
        /// </summary>
        [Action(ActionParameters.None, ActionParameters.All)]
        Remove,
        
        /// <summary>
        /// Combine the current entry list with the specified entrylist, to a custom entry list. (*name)
        /// name - name of the combined entry list.
        /// </summary>
        [Action(ActionParameters.All, ActionParameters.All)]
        Combine,

        /// <summary>
        /// Select the specified entry.
        /// position - position to the first item to select, 0 = first, -1 = last, -2 = second last
        /// count - number of items to select (default 1)
        /// </summary>
        [Action(ActionParameters.All, ActionParameters.All)]
        Select
    }
}
